export const formItems = [
  {
    filed: 'couponsName',
    type: 'input',
    label: '优惠券名称'
  },
  {
    filed: 'couponsType',
    type: 'select',
    label: '优惠券类型',
    clearable: true,
    options: [
      { value: '0', label: '折扣券' },
      { value: '1', label: '代金券' }
    ]
  },
  {
    filed: 'couponsChannel',
    type: 'select',
    label: '发放渠道',
    clearable: true,
    options: [
      { value: '1', label: '用户领取' },
      { value: '2', label: '积分兑换' },
      { value: '3', label: '定向营销' }
    ]
  },
  {
    filed: 'validityType',
    type: 'select',
    label: '有效期类型',
    clearable: true,
    options: [
      { value: '0', label: '固定日期' },
      { value: '1', label: '领取生效' }
    ]
  },
  {
    filed: 'stadiumId',
    type: 'select',
    label: '适用场馆',
    clearable: true,
    options: []
  },
  {
    filed: 'itemsId',
    type: 'select',
    label: '适用项目',
    clearable: true,
    options: []
  },
  // {
  //   filed: 'orderType',
  //   type: 'select',
  //   label: '订单类型',
  //   clearable: true,
  //   options: []
  // },
  {
    filed: 'couponsStatus',
    type: 'select',
    label: '状态',
    clearable: true,
    options: [
      { value: '1', label: '启用' },
      { value: '0', label: '禁用' }
    ]
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
